package mode.decorator.extend;

/**
 * 炒饭添加鸡蛋
 *
 * @author xjx
 * @date 2023/7/21 16:03
 */
public class FriedRiceAddEgg extends FriedRice {
    @Override
    String getDesc() {
        return super.getDesc() + "+鸡蛋";
    }

    @Override
    Integer getPrice() {
        return super.getPrice() + 2;
    }
}
